<%--
  Created by IntelliJ IDEA.
  User: kadsg
  Date: 2023/1/2
  Time: 18:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>图书馆座位预约系统</title>
    <!-- 引用 Bootstrap CSS 文件 -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet"
          integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/web/css/body.css">
</head>
<body>
<nav class="navbar navbar-expand-lg bg-primary navbar-dark fixed-top">
    <div class="container">
        <a class="navbar-brand" href="#">图书馆座位预约系统</a>
    </div>
</nav>
<section>
    <div class="container">
        <form action="${pageContext.request.contextPath}/LoginController" method="post">
            <div class="form-group">
                <label for="id">输入您的帐号</label>
                <input type="text" class="form-control" id="id" name="id" aria-describedby="emailHelp" placeholder="输入账号">
            </div>
            <br>
            <div class="form-group">
                <label for="password">输入您的密码</label>
                <input type="password" class="form-control" id="password" name="password" placeholder="输入密码">
            </div>
            <div class="form-group">
                <div class="form-check">
                    <input class="form-check-input" type="radio" name="identity" id="reader" value="reader"
                           checked>
                    <label class="form-check-label" for="reader">读者</label>
                </div>
                <div class="form-check">
                    <input class="form-check-input" type="radio" name="identity" id="manager" value="manager">
                    <label class="form-check-label" for="manager">管理员</label>
                </div>
                <br>
                <button type="submit" class="btn btn-primary">登录</button>
                <a href="#" class="btn btn-primary">注册</a>
            </div>
        </form>
    </div>
</section>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"
        integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4"
        crossorigin="anonymous"></script>
</body>
</html>
